package com.sbw.netty.demo;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;


/**
 * @author sangbowei
 * @date 2018年7月6日
 *  项目启动类
 * 
 */
@MapperScan("com.sbw.netty.demo.mapper")
@SpringBootApplication
@ServletComponentScan
public class NettyDemoApplication {
	
	private static Logger logger = LoggerFactory.getLogger(NettyDemoApplication.class);
	
	public static void main(String[] args) {
		
		SpringApplication.run(NettyDemoApplication.class, args);
		logger.info("start program");
	}
	
}
